package vsvm.data.model;

public class NumericAttribute extends AbstractAttribute {
	private static final long serialVersionUID = 100L;

	public NumericAttribute(String name) {
		this.name = name;
	}
	
	@Override
	public int getAttributeType() {
		return AbstractAttribute.NUMERIC_TYPE;
	}
	
	public double toDouble(String str) {
		return Double.parseDouble(str);
	}
	
	public String getQuickInfo() {
		return "Numeric attribute";
	}

}
